<style>
  .container {
    padding: 0;
    height: 100%;
  }
</style>

<template>
  <scroll-view class="container" :scroll-y="true">
    <%_ blocks.forEach(function(block) { _%>
    <<%= block.name %>></<%= block.name %>>
    <%_ }); _%>
  </scroll-view>
</template>

<script>
  <%_ blocks.forEach(function(block) { _%>
  import <%= block.className %> from '<%= block.path %>';
  <%_ }); _%>
  export default {
    components: {
      <%_ blocks.forEach(function(block) { _%>
      <%= block.className %>,
      <%_ }); _%>
    },
    data() {
      return {
        // initial data
      };
    },
    methods: {
      goto() {
        console.log('history push');
      }
    }
  };
</script>

